package com.auxgroup.smarthome.app.repo;

import com.auxgroup.smarthome.app.entity.AppPeakValleyEntity;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by niuGuangzhe on 2017/8/1.
 */
public interface AppPeakValleyRepo extends JpaRepository<AppPeakValleyEntity,String>{

    AppPeakValleyEntity findByDeviceId(String deviceId);

    AppPeakValleyEntity findByDid(String did);

    AppPeakValleyEntity findByPeakValleyId(String peakValleyId);

}
